--- import templateData from '../../components/Examples/Functions/get-examples-data.js' export async function getStaticPaths() { const data = await templateData() return data.map((example)=>({ params:{ name: example.name }, props:{ example } })); } const {name} = Astro.request.params const {example} = Astro.props let {name:title,pkgJSON,readme=""} = example const {description, keywords} = pkgJSON import Layout from '../../layouts/ExamplesLayout.astro' import capitalise from '../../components/Examples/Functions/capitalise.js' import formatName from '../../components/Examples/Functions/format-name.js' import {Markdown} from 'astro/components' import CollapsibleReadme from '../../components/Examples/CollapsibleReadme.astro' import getHeroImg from '../../components/Examples/Functions/get-hero-img.js' const getImg = await getHeroImg() let templateTitle = formatName(title) ---

{templateTitle} Template

## Getting Started To start using the {templateTitle} template, enter the following into your terminal
npm init astro my-astro-project -- --template {name}